A Fast, Practical Algorithm for the Trapezoidation of Simple Polygons

نویسندگان

  • Thomas Hain
  • David Langan
چکیده

A fast, practical, deterministic algorithm for the horizontal trapezoidation of simple polygons is presented. The polygon is decomposed into a minimal collection of trapezoid sequences, such that two trapezoids adjacent within a sequence always share a common horizontal border. Such trapezoid sequences are a convenient data structure in a display list for a collection of polygonal objects to be filled/rendered. A linear traversal of the polygon outline identifies a subset of critical vertices, which are then processed in sweep order. Horizontal as well as vertical edges—very common in practical polygons—are handled explicitly. Complexity is linear for most ‘practical’ polygons, with non-linear running times being required only for much less frequently occurring geometries. A straightforward extension allows trapezoidation of simple polygons with holes.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Fast, Practical Algorithm for the

 —A fast, practical, deterministic algorithm for the horizontal trapezoidation of simple polygons is presented. The polygon is decomposed into a minimal collection of trapezoid sequences, such that two trapezoids adjacent within a sequence always share a common horizontal border. Such trapezoid sequences are a convenient data structure in a display list for a collection of polygonal objects to...

متن کامل

An Extension to Hain’s Trapezoidation Algorithm to Handle Polygons with Holes

Hain’s trapezoidation algorithm is a fast, practical algorithm for the reduction of simple polygons into horizontally aligned trapezoids partitioned into a minimal collection of trapezoid sequences. An extension to this algorithm is described which allows trapezoidation of simple polygons with an arbitrary number of non-intersecting holes. The minimal computational cost per hole is a traversal ...

متن کامل

A Fast Algorithm for Covering Rectangular Orthogonal Polygons with a Minimum Number of r-Stars

Introduction This paper presents an algorithm for covering orthogonal polygons with minimal number of guards. This idea examines the minimum number of guards for orthogonal simple polygons (without holes) for all scenarios and can also find a rectangular area for each guards. We consider the problem of covering orthogonal polygons with a minimum number of r-stars. In each orthogonal polygon P,...

متن کامل

A fast trapezoidation technique for planar polygons

Triangulation is one of the most popular methods for decomposing a planar polygon into primitive cells. Often trapezoidation is performed as a first step in triangulation. That is, a polygon is decomposed into a set of trapezoids; a trapezoid being a four sided polygon with two parallel sides. Although much work has gone into fast triangulation methods, there has been little work on trapezoidat...

متن کامل

A Simple and Fast Incremental Randomized Algorithm for Computing Trapezoidal Decompositions and for Triangulating Polygons

Seidel, R., A simple and fast incremental randomized algorithm for computing trapezoidal decompositions and for triangulating polygons, Computational Geometry: Theory and Applications 1 (1991) 51-64. This paper presents a very simple incremental randomized algorithm for computing the trapezoidal decomposition induced by a set S of n line segments in the plane. If S is given as a simple polygona...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005